﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Pages_RecoveryPassword : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        lblMessage.Visible = false;
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        ThanhVienBLL tvien = new ThanhVienBLL();
        string email = txtEmail.Text.Trim();
        string status = tvien.RecoveryPassword(email);

        Response.Write("<script>alert('"+status+"')</script>");
    }
}